package com.skl.springloud.feign;

import com.skl.config.FeignClientConfig01;
import feign.Param;
import feign.RequestLine;
import org.springframework.cloud.openfeign.FeignClient;

@FeignClient(name = "PVIDER-USER1" ,configuration = FeignClientConfig01.class,fallback = HystrixFeignCustom.class)
public interface FeignClientInter2 {

//    @RequestMapping(method = RequestMethod.GET,value = "/eureka/apps")
//    String providerUserInfoTest();

    @RequestLine("POST /providerInfos/{id}")
    String providerUserInfo(@Param("id") String id);
//    @RequestLine("GET /eureka/apps/{id}")
//    String providerUserInfo(@Param("id") String id);

}
